﻿using DeploySources.ViewModel;
using Microsoft.SharePoint.Client;
using Sources;
using System.Collections.Generic;
using System.Windows;

namespace DeploySources.View
{
	/// <summary>
	/// Interaction logic for WorkerView.xaml
	/// </summary>
	public partial class WorkerView : Window
	{
		public WorkerView(ClientContext context, IEnumerable<IDeployableObject> itemsToDeploy)
		{
			InitializeComponent();
			DataContext = new WorkerViewModel(context, itemsToDeploy, this);
		}
	}
}
